package com.jinzhi.jzcultivate.controller;
import com.jinzhi.common.annotation.Log;
import com.jinzhi.common.base.BaseController;
import com.jinzhi.jzapi.training.pojo.CoursesAndTeacherVo;
import com.jinzhi.jzweb.service.CoursesService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@AllArgsConstructor
@RequestMapping("/cultivate/myClasss")
public class MyClassesController extends BaseController {

	private CoursesService coursesService;

	@Log("我的班级")
	@GetMapping("/myClasss")
	String myClasss(Model model){
		return "cultivateWeb/my/myClasss";
	}

	/*@Log("我的班级列表")
	@GetMapping("/List")
	String myClasssList(Model model,String id,String isTestScores){
		CoursesAndTeacherVo coursesAndTeacherVo = coursesService.selCourseDetail(Long.parseLong(id));
		model.addAttribute("cou" , coursesAndTeacherVo);
		model.addAttribute("isTestScores",isTestScores);
		return "cultivateWeb/study/studyInfo";
	}
*/
}
